DOUT#.SOURCE
Description
Gets or sets the digital output source.
| Value | Description |
|---|---|
| 0 - User | User controls the output value using DOUT#.STATEU |
| 1 - Action Table | Action table controls the output value |
| 2 - Fieldbus |
Fieldbus controls the output value |
| 3 - Sequencer | Sequencer controls the output value |
Examples
Usage
When DOUT#.SOURCE = 0 (User), then DOUT#.STATE will be controlled by DOUT#.STATEU.
When DOUT#.SOURCE = 1 (Action table), then DOUT#.STATE will be controlled by the assigned action, if any.
When DOUT#.SOURCE = 2 (Fieldbus), then DOUT#.STATE will be controlled by the fieldbus output control object 3601h sub 1.
When DOUT#.SOURCE = 3 (Sequencer), then DOUT#.STATE will be controlled by the assigned event in the Sequencer.
Code
Changing output state with STATEU and then changing SOURCE to be action table with no action configured:
--> DOUT1.SOURCE 0 //user --> DOUT1.STATE 0 --> DOUT1.STATEU 1 --> DOUT1.STATE 1 --> DOUT1.SOURCE 1 //action table --> DOUT1.STATE 0
Context
For more information see Digital Inputs and Outputs.
Versions
| Action | Version | Notes |
|---|---|---|
| Implemented | 02-00-00-000 |
|
| Added fieldbus source | 02-00-01-000 | |
| Add Sequencer source | 02-02-03-000 |
General Information
| Type | Read/Write |
| Units | N/A |
| Range | 0 to 2 |
| Default Value | 0 |
| Data Type | Integer |
|
Stored in Non Volatile Memory |
Yes |
Variants Supported
All variants are supported
Fieldbus Information
| Fieldbus | Parameter | Index | Sub-Index | Data Type | Float Scale | Units | Access | PDO Mappable |
|---|---|---|---|---|---|---|---|---|
| EtherCAT |
DOUT1.SOURCE | 0x360A | 0x1 | USINT | - | - | RW | False |
| DOUT2.SOURCE | 0x360B | 0x1 | USINT | - | - | RW | False | |
| DOUT3.SOURCE | 0x360C | 0x1 | USINT | - | - | RW | False | |
| DOUT4.SOURCE | 0x360D | 0x1 | USINT | - | - | RW | False | |
| DOUT5.SOURCE | 0x360E | 0x1 | USINT | - | - | RW | False | |
| DOUT6.SOURCE | 0x360F | 0x1 | USINT | - | - | RW | False | |
| DOUT7.SOURCE | 0x3610 | 0x1 | USINT | - | - | RW | False | |
| DOUT8.SOURCE | 0x3611 | 0x1 | USINT | - | - | RW | False | |
| DOUT9.SOURCE | 0x3612 | 0x1 | USINT | - | - | RW | False |






